﻿using System;
using System.Web.Mvc;

namespace ECSE6770.Models
{
    public class SuccessInfo
    {
        public SuccessInfo(string title, string text) : this(title, text, null, null) { }

        public SuccessInfo(string title, string text, string linkText, string linkUrl)
        {
            this.PageTitle = title;
            this.SuccessText = text;
            this.LinkText = linkText;
            this.LinkUrl = linkUrl;
        }

        public string PageTitle { get; set; }

        public string SuccessText { get; private set; }

        public string LinkText { get; private set; }

        public string LinkUrl { get; private set; }
    }
}